package com.feihao.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan("com.feihao.zhou")
@Import({JDBCConfig.class,MybatisConfig.class})

/*//开启事务注解支持*/
@EnableTransactionManagement
public class SpringConfig {   //spring配置类，替代配置文件xml

}
